package com.ha7419x;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient//eureka启动注解
@EnableDiscoveryClient//启用发现服务
@EnableCircuitBreaker//Hystrix 熔断启动
public class DeptHystrixApplication {
    public static void main(String[] args) {
        SpringApplication.run(DeptHystrixApplication.class, args);
    }
}
